package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseFintechRentOrderDao;
import com.appkubes.mall.core.entity.FintechRentOrder;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseFintechRentOrderService extends AbstractBaseService<BaseFintechRentOrderDao, FintechRentOrder> {

    FintechRentOrder getOneByEntity(FintechRentOrder entity);

    List<FintechRentOrder> selectListByEntity(FintechRentOrder entity);

    IPage<FintechRentOrder> selectPageByEntity(IPage<FintechRentOrder> page);
    IPage<FintechRentOrder> selectPageByEntity(PageVO pageVO);

    IPage<FintechRentOrder> selectPageByEntity(FintechRentOrder entity, IPage<FintechRentOrder> page);
    IPage<FintechRentOrder> selectPageByEntity(FintechRentOrder entity, PageVO pageVO);

    IPage<FintechRentOrder> selectPageByEntity(FintechRentOrder entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(FintechRentOrder entity);
}
